public class Congress extends Approver {
    public Congress(String name) {
        super(name);
    }

    @Override
    public void processRequest(PurchaseRequest request) {
        System.out.println("Approver " + name + " approves request: " + request.getNumber() + ", amount: " + request.getAmount() + ", purpose: " + request.getPurpose() + ".");
    }
}